Partially Observable Markov Decision Process
   HOME

TheInfoList



OR:

A partially observable Markov decision process (POMDP) is a generalization of a Markov decision process (MDP). A POMDP models an agent decision process in which it is assumed that the system dynamics are determined by an MDP, but the agent cannot directly observe the underlying state. Instead, it must maintain a sensor model (the probability distribution of different observations given the underlying state) and the underlying MDP. Unlike the policy function in MDP which maps the underlying states to the actions, POMDP's policy is a mapping from the history of observations (or belief states) to the actions. The POMDP framework is general enough to model a variety of real-world sequential decision processes. Applications include robot navigation problems, machine maintenance, and planning under uncertainty in general. The general framework of Markov decision processes with
imperfect information In economics, perfect information (sometimes referred to as "no hidden information") is a feature of perfect competition. With perfect information in a market, all consumers and producers have complete and instantaneous knowledge of all market pri ...
was described by
Karl Johan Åström Karl Johan Åström (born August 5, 1934) is a Swedish control theorist, who has made contributions to the fields of control theory and control engineering, computer control and adaptive control. In 1965, he described a general framework of Marko ...
in 1965 in the case of a discrete state space, and it was further studied in the
operations research Operations research ( en-GB, operational research) (U.S. Air Force Specialty Code: Operations Analysis), often shortened to the initialism OR, is a discipline that deals with the development and application of analytical methods to improve deci ...
community where the acronym POMDP was coined. It was later adapted for problems in
artificial intelligence Artificial intelligence (AI) is intelligence—perceiving, synthesizing, and inferring information—demonstrated by machines, as opposed to intelligence displayed by animals and humans. Example tasks in which this is done include speech re ...
and
automated planning Automation describes a wide range of technologies that reduce human intervention in processes, namely by predetermining decision criteria, subprocess relationships, and related actions, as well as embodying those predeterminations in machines ...
by Leslie P. Kaelbling and Michael L. Littman. An exact solution to a POMDP yields the optimal action for each possible belief over the world states. The optimal action maximizes the expected reward (or minimizes the cost) of the agent over a possibly infinite horizon. The sequence of optimal actions is known as the optimal policy of the agent for interacting with its environment.


Definition


Formal definition

A discrete-time POMDP models the relationship between an agent and its environment. Formally, a POMDP is a 7-tuple (S,A,T,R,\Omega,O,\gamma), where * S is a set of states, * A is a set of actions, * T is a set of conditional transition probabilities between states, * R: S \times A \to \mathbb is the reward function. * \Omega is a set of observations, * O is a set of conditional observation probabilities, and * \gamma \in [0, 1) is the discount factor. At each time period, the environment is in some state s \in S. The agent takes an action a \in A, which causes the environment to transition to state s' with probability T(s'\mid s,a). At the same time, the agent receives an observation o \in \Omega which depends on the new state of the environment, s', and on the just taken action, a, with probability O(o \mid s',a) (or sometimes O(o \mid s') depending on the sensor model). Finally, the agent receives a reward r equal to R(s, a). Then the process repeats. The goal is for the agent to choose actions at each time step that maximize its expected future discounted reward: E \left[ \sum_^\infty \gamma^t r_t \right], where r_t is the reward earned at time t. The discount factor \gamma determines how much immediate rewards are favored over more distant rewards. When \gamma=0 the agent only cares about which action will yield the largest expected immediate reward; when \gamma \rightarrow 1 the agent cares about maximizing the expected sum of future rewards.


Discussion

Because the agent does not directly observe the environment's state, the agent must make decisions under uncertainty of the true environment state. However, by interacting with the environment and receiving observations, the agent may update its belief in the true state by updating the probability distribution of the current state. A consequence of this property is that the optimal behavior may often include (information gathering) actions that are taken purely because they improve the agent's estimate of the current state, thereby allowing it to make better decisions in the future. It is instructive to compare the above definition with the definition of a Markov decision process. An MDP does not include the observation set, because the agent always knows with certainty the environment's current state. Alternatively, an MDP can be reformulated as a POMDP by setting the observation set to be equal to the set of states and defining the observation conditional probabilities to deterministically select the observation that corresponds to the true state.


Belief update

After having taken the action a and observing o, an agent needs to update its belief in the state the environment may (or not) be in. Since the state is Markovian (by assumption), maintaining a belief over the states solely requires knowledge of the previous belief state, the action taken, and the current observation. The operation is denoted b' = \tau(b,a,o). Below we describe how this belief update is computed. After reaching s', the agent observes o \in \Omega with probability O(o\mid s',a). Let b be a probability distribution over the state space S. b(s) denotes the probability that the environment is in state s. Given b(s), then after taking action a and observing o, : b'(s') = \eta O(o\mid s',a) \sum_ T(s'\mid s,a)b(s) where \eta=1/\Pr(o\mid b,a) is a normalizing constant with \Pr(o\mid b,a) = \sum_O(o\mid s',a)\sum_T(s'\mid s,a)b(s).


Belief MDP

A Markovian belief state allows a POMDP to be formulated as a Markov decision process where every belief is a state. The resulting ''belief MDP'' will thus be defined on a continuous state space (even if the "originating" POMDP has a finite number of states: there are infinite belief states (in B) because there are an infinite number of probability distributions over the states (of S)). Formally, the belief MDP is defined as a tuple (B,A,\tau,r,\gamma) where * B is the set of belief states over the POMDP states, * A is the same finite set of action as for the original POMDP, * \tau is the belief state transition function, * r:B \times A \to \mathbb is the reward function on belief states, * \gamma is the discount factor equal to the \gamma in the original POMDP. Of these, \tau and r need to be derived from the original POMDP. \tau is \tau(b,a,b') = \sum_ \Pr(b', b,a,o) \Pr(o , a, b), where \Pr(o , a,b) is the value derived in the previous section and Pr(b', b,a,o) = \begin 1 &\text b,a,o \text b' \\ 0 &\text \end. The belief MDP reward function (r) is the expected reward from the POMDP reward function over the belief state distribution: r(b,a) = \sum_ b(s) R(s,a). The belief MDP is not partially observable anymore, since at any given time the agent knows its belief, and by extension the state of the belief MDP.


Policy and value function

Unlike the "originating" POMDP (where each action is available from only one state), in the corresponding Belief MDP all belief states allow all actions, since you (almost) always have ''some'' probability of believing you are in any (originating) state. As such, \pi specifies an action a=\pi(b) for any belief b. Here it is assumed the objective is to maximize the expected total discounted reward over an infinite horizon. When R defines a cost, the objective becomes the minimization of the expected cost. The expected reward for policy \pi starting from belief b_0 is defined as : V^\pi(b_0) = \sum_^\infty \gamma^t r(b_t, a_t) = \sum_^\infty \gamma^t E\Bigl R(s_t,a_t) \mid b_0, \pi \Bigr where \gamma<1 is the discount factor. The optimal policy \pi^* is obtained by optimizing the long-term reward. : \pi^* = \underset\ V^\pi(b_0) where b_0 is the initial belief. The optimal policy, denoted by \pi^*, yields the highest expected reward value for each belief state, compactly represented by the optimal value function V^*. This value function is solution to the Bellman optimality equation: : V^*(b) = \max_\Bigl r(b,a) + \gamma\sum_ \Pr(o\mid b,a) V^*(\tau(b,a,o)) \Bigr For finite-horizon POMDPs, the optimal value function is piecewise-linear and convex. It can be represented as a finite set of vectors. In the infinite-horizon formulation, a finite vector set can approximate V^* arbitrarily closely, whose shape remains convex. Value iteration applies dynamic programming update to gradually improve on the value until convergence to an \epsilon-optimal value function, and preserves its piecewise linearity and convexity. By improving the value, the policy is implicitly improved. Another dynamic programming technique called policy iteration explicitly represents and improves the policy instead.


Approximate POMDP solutions

In practice, POMDPs are often computationally intractable to solve exactly, so computer scientists have developed methods that approximate solutions for POMDPs. Grid-based algorithms comprise one approximate solution technique. In this approach, the value function is computed for a set of points in the belief space, and interpolation is used to determine the optimal action to take for other belief states that are encountered which are not in the set of grid points. More recent work makes use of sampling techniques, generalization techniques and exploitation of problem structure, and has extended POMDP solving into large domains with millions of states. For example, adaptive grids and point-based methods sample random reachable belief points to constrain the planning to relevant areas in the belief space. Dimensionality reduction using PCA has also been explored. Another line of approximate solution techniques for solving POMDPs relies on using (a subset of) the history of previous observations, actions and rewards up to the current time step as a pseudo-state. Usual techniques for solving MDPs based on these pseudo-states can then be used (e.g.
Q-learning ''Q''-learning is a model-free reinforcement learning algorithm to learn the value of an action in a particular state. It does not require a model of the environment (hence "model-free"), and it can handle problems with stochastic transitions an ...
). Ideally the pseudo-states should contain the most important information from the whole history (to reduce bias) while being as compressed as possible (to reduce overfitting).


POMDP theory

Planning in POMDP is undecidable in general. However, some settings have been identified to be decidable (see Table 2 in, reproduced below). Different objectives have been considered. Büchi objectives are defined by
Büchi automata Buchi can mean: __NOTOC__ Items *Bachi, special Japanese drumsticks *Butsi, the Hispanised term for jin deui (pastry made from glutinous rice) in the Philippines *Büchi automaton, finite state automata extended to infinite inputs * Büchi arithmet ...
. Reachability is an example of a Büchi condition (for instance, reaching a good state in which all robots are home). coBüchi objectives correspond to traces that do not satisfy a given Büchi condition (for instance, not reaching a bad state in which some robot died). Parity objectives are defined via parity games; they enable to define complex objectives such that reaching a good state every 10 timesteps. The objective can be satisfied: * almost-surely, that is the probability to satisfy the objective is 1; * positive, that is the probability to satisfy the objective is strictly greater than 0; * quantitative, that is the probability to satisfy the objective is greater than a given threshold. We also consider the finite memory case in which the agent is a finite-state machine, and the general case in which the agent has an infinite memory.


Applications

POMDPs can be used to model many kinds of real-world problems. Notable applications include the use of a POMDP in management of patients with ischemic heart disease, assistive technology for persons with dementia, the conservation of the critically endangered and difficult to detect Sumatran tigers and aircraft collision avoidance.


References

{{reflist


External links


Tony Cassandra's POMDP pages
with a tutorial, examples of problems modeled as POMDPs, and software for solving them.

an R package providing an interface to Tony Cassandra's POMDP solver.
zmdp
a POMDP solver by Trey Smith
APPL
a fast point-based POMDP solver
pyPOMDP
a (PO)MDP toolbox (simulator, solver, learner, file reader) for Python by Oliver Stollmann and Bastian Migge
Finite-state Controllers using Branch-and-Bound
An Exact POMDP Solver for Policies of a Bounded Size
POMDPs.jl
an interface for defining and solving MDPs and POMDPs in
Julia Julia is usually a feminine given name. It is a Latinate feminine form of the name Julio and Julius. (For further details on etymology, see the Wiktionary entry "Julius".) The given name ''Julia'' had been in use throughout Late Antiquity (e.g ...
and python with a variety of solvers. Dynamic programming Markov processes Stochastic control